From a5b189093b253657ffad766eeff65da8ec2b178d Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 30 Jan 2012 17:52:44 -0500 Subject: [PATCH] cell-renderer: add the CELL style class to the editing widget When we create an editing widget, add the CELL style class to it, for identification by the themes. --- gtk/gtkcellrenderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index d701b74c4f..3e9529489a 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -865,6 +865,8 @@ gtk_cell_renderer_start_editing (GtkCellRenderer *cell, (GdkRectangle *) background_area, (GdkRectangle *) cell_area, flags); + gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (editable)), + GTK_STYLE_CLASS_CELL); g_signal_emit (cell, cell_renderer_signals[EDITING_STARTED], 0, -- 2.30.2